import { createApp } from 'vue'
import 'ant-design-vue/dist/reset.css'
import App from './App.vue'
const app = createApp(App);
import store from './store'
import router from './router'
// import './router/permission.ts'

// import '../mock/userInfo.ts'
import './utils/request.ts'

/*全局注册组件*/
// import Antd from 'ant-design-vue';
// import 'ant-design-vue/dist/reset.css';
// app.use(Antd);

/*局部注册组件*/
import {
    Row,
    Col,
    Space,
    Button,
    DatePicker,
    Input,
    Radio,
    Checkbox,
    Select,
    Form,
    Spin,
} from 'ant-design-vue';
app.use(Row)
    .use(Col)
    .use(Space)
    .use(Button)
    .use(DatePicker)
    .use(Input)
    .use(Radio)
    .use(Checkbox)
    .use(Select)
    .use(Form)
    .use(Spin)

app.use(store)
app.use(router)


app.mount('#app')